package design_pattern.state.demo01.state;

import design_pattern.state.demo01.Context;

/**
 * @version 1.0.0
 * Created by cyd on 2022-06-02 17:43:11
 * @ClassName : design_pattern.state.demo01.state.ConcreteStateB
 * @Description : C状态，做完事情后置为A状态
 */
public class ConcreteStateC implements State {
    @Override
    public void handleContext(Context context) {
        context.setState(new ConcreteStateA());
    }
}
